from components import TitleInterface
from .plugins.other import DeleteFileView, JsonFormatView, IconFontView, FakerView


class OtherInterface(TitleInterface):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.addSampleCard(DeleteFileView(self))
        self.addSampleCard(JsonFormatView(self))
        self.addSampleCard(IconFontView(self))
        self.addSampleCard(FakerView(self))

        self.__initWidgets()

    def __initWidgets(self):
        self.setTitle("其他功能")
        self.setObjectName('OtherInterface')
